﻿//
// Created by francklinson on 2021/3/12.
//

#include <iostream>

int stoneToLb(int); // 如果函数定义写在main之后，就需要在main之前写函数原型


int main()
{
    using namespace std;
    int stone;
    cout << "Enter the weight in stone: ";
    cin >> stone;
    int pounds = stoneToLb(stone);
    cout << stone << " stones = ";
    cout << pounds << " pounds." << endl;
    return 0;
}

int stoneToLb(int sts)
{
    return 14 * sts;
}